package com.czh.springboot04.mapper;

import com.czh.springboot04.entity.Free;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
    @Mapper
public interface FreeMapper {
        int freeAdd(Free free);
        int freeUpdate(Free free);
        int freeDelete(int id);
        List<Free> freeSelectAll();
        List<Free> freeSelectByName(String name);
    }
